<?php
defined('_JEXEC') or die('Restricted access');
require_once(JPATH_COMPONENT.DS.'data'.DS.'DAOFactory.php');
require_once('FTDAORoute.php');
require_once('FTDAOPoi.php');

class FTDAOFactory extends DAOFactory{
	private static $instance;
	public static function getInstance() 
	    {
	        if (!isset(self::$instance)) {
	            $c = __CLASS__;
	            self::$instance = new $c;
	        }
	        return self::$instance;
	}
	
	private function __construct(){
		
	}
	
	public function getDAORoute(){
		return new FTDAORoute();
	}

	public function getDAOPoi(){
		return new FTDAOPoi();
	}
}
?>